package generic2;

public class genericMethod1 {

    public static <T> void sayHello(T name){
        System.out.println("Hello "+name);
//        System.out.println(name.);
    }

    public static void main(String[] args) {
        genericMethod1.<Integer>sayHello(12);
    }
}
